package com.alibaba.ecool.service;

import java.util.List;
import java.util.Random;

import com.alibaba.ecool.dao.ReadingContentDAO;
import com.alibaba.ecool.dao.ReadingDAO;
import com.alibaba.ecool.dao.ReadingQuestionDAO;
import com.alibaba.ecool.dao.ReadingStyleDAO;
import com.alibaba.ecool.dao.impl.ReadingContentDAOImpl;
import com.alibaba.ecool.dao.impl.ReadingDAOImpl;
import com.alibaba.ecool.dao.impl.ReadingQuestionDAOImpl;
import com.alibaba.ecool.dao.impl.ReadingStyleDAOImpl;

public interface ReadingEditService {

	public ReadingContentDAO getReadingContentDAO() ;
	
	public void setReadingContentDAO(ReadingContentDAO readingContentDAO) ;
	
	public ReadingDAO getReadingDA() ;
	
	public void setReadingDAO(ReadingDAO readingDAO);
	
	public ReadingQuestionDAO getReadingQuestionDAO() ;
	
	public void setReadingQuestionDAO(
			ReadingQuestionDAO readingQuestionDAO) ;
	
	public ReadingStyleDAO getEadingStyleDAO() ;
	
	public void setEadingStyleDAO(ReadingStyleDAO eadingStyleDAO) ;
	
	
	public int getReadingCount(int maxDiff,int minDiff) ;
	
	public void SetReadingCount(String testSort,float esayRatio,float middleRatio,float hardRatio);

	public List randomReading(String testsort);

	ReadingStyleDAOImpl getEadingStyleDAOImpl();

	ReadingContentDAOImpl getReadingContentDAOImpl();

	void setReadingDAOImpl(ReadingDAOImpl readingDAOImpl);

	void setReadingQuestionDAOImpl(ReadingQuestionDAOImpl readingQuestionDAOImpl);

	void setReadingContentDAOImpl(ReadingContentDAOImpl readingContentDAOImpl);

	void setEadingStyleDAOImpl(ReadingStyleDAOImpl eadingStyleDAOImpl);

	ReadingQuestionDAOImpl getReadingQuestionDAOImpl();

	ReadingDAOImpl getReadingDAOImpl();

	int getReadingCount();
	
}
